﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace MyLib.Data {
	/// <summary>
	/// 
	/// </summary>
	[System.ComponentModel.DataObject]
	public sealed class WorkflowProvider : DbContextProvider {
		/// <summary>
		/// Forward work flow.
		/// </summary>
		/// <param name="flowId">Id of work flow.</param>
		/// <param name="token">Id of token.</param>
		/// <returns></returns>
		public int Forward(string flowId, int token) {
			return 0;
		}

		/// <summary>
		/// 
		/// </summary>
		/// <param name="flowTypeId"></param>
		/// <param name="status"></param>
		/// <param name="title"></param>
		/// <returns></returns>
		public WorkflowTable FindOwned(int? flowTypeId = null, int? status = null, string title = "") {
			return null;
		}
	} // end of WorkflowProvider.
}
